From bb4cff8ecf465c3a03cc44f11e83960294c6c6fa Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Wed, 6 Mar 2013 16:47:32 +0800 Subject: [PATCH] gdk/win32/gdkevents-win32.c: Fix build The variable "display" is not defined, causing the build to fail. Judging from the code, it seems that it should be _gdk_display instead. https://bugzilla.gnome.org/show_bug.cgi?id=694339 --- gdk/win32/gdkevents-win32.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gdk/win32/gdkevents-win32.c b/gdk/win32/gdkevents-win32.c index 7866f31771..afa20742d8 100644 --- a/gdk/win32/gdkevents-win32.c +++ b/gdk/win32/gdkevents-win32.c @@ -3330,7 +3330,7 @@ gdk_event_prepare (GSource *source, *timeout = -1; - if (display->event_pause_count > 0) + if (_gdk_display->event_pause_count > 0) retval = FALSE; else retval = (_gdk_event_queue_find_first (_gdk_display) != NULL || @@ -3349,7 +3349,7 @@ gdk_event_check (GSource *source) gdk_threads_enter (); - if (display->event_pause_count > 0) + if (_gdk_display->event_pause_count > 0) retval = FALSE; else if (event_poll_fd.revents & G_IO_IN) retval = (_gdk_event_queue_find_first (_gdk_display) != NULL || -- 2.30.2